package stbm.objects;

/**
 * Represents an x-y location in the Universe
 * 
 * @author Nirav
 * @author Nisha
 * 
 */
public class Coordinate {

	public double x;

	public double y;

	/**
	 * Creates a new Coordinate
	 * 
	 * @param x
	 *            the x location
	 * @param y
	 *            the y location
	 */
	public Coordinate(double x, double y) {
		this.x = x;
		this.y = y;
	}

	/*
	 * toString method
	 */
	public String toString(){
		return " (" + x + "," + y + " )" ; 
	}
	
}
